package com.wsy.utils;

import lombok.Data;

@Data
public class Result {

    private int code;
    private String msg;
    private int count;
    private Object data;


    public static Result success(Object data){
        Result result=new Result();
        result.setCode(1);
        result.setData(data);
        return result;
    }


}
